package com.heima.service.impl;

import com.heima.apis.wemedia.WemediaFeign;
import com.heima.model.common.dtos.ResponseResult;
import com.heima.service.AdChannelService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AdChannelServiceImpl implements AdChannelService {
    @Autowired
    private WemediaFeign wemediaFeign;

    @Override
    public ResponseResult findAll() {
        return wemediaFeign.findAll();
    }
}
